package com.ihr360.binlog.model;

import com.alibaba.otter.canal.protocol.CanalEntry;

/**
 * Created by davidwei on 17-7-11.
 */
public class EventRow {
    private CanalEntry.RowChange rowChange;
    private String tableName;
    private String schamaName;

    public EventRow(CanalEntry.RowChange rowChange, String tableName) {
        this.rowChange = rowChange;
        this.tableName = tableName;
        this.schamaName = schamaName;
    }

    public CanalEntry.RowChange getRowChange() {
        return rowChange;
    }

    public void setRowChange(CanalEntry.RowChange rowChange) {
        this.rowChange = rowChange;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getSchamaName() {
        return schamaName;
    }

    public void setSchamaName(String schamaName) {
        this.schamaName = schamaName;
    }
}
